package com.meilai.project.vo.business.sale;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class ContractCustomerVO {

    @ApiModelProperty("合同id")
    private Long contract_id;

    @ApiModelProperty("合同编号")
    private String contract_num;

    @ApiModelProperty("合同开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contract_begin_date;

    @ApiModelProperty("合同结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contract_end_date;

    @ApiModelProperty("项目名称")
    private String project_name;

    @ApiModelProperty("客户负责人名称")
    private String person_in_charge_name;

    @ApiModelProperty("客户维护人名称")
    private String maintenance_staff_name;

    @ApiModelProperty("销售单执行总额")
    private BigDecimal amount;

    @ApiModelProperty("甲方名称")
    private String part_a;
}
